package org.example.admin.service;

import org.example.admin.entity.Shop;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ShopService {

    int insertShop(String dishname,int dishprice,int userid,int number);

    List<Shop> selectShopByUserId(int userId);

    int updateNumber(int number, int shopid);

    Shop selectShopByShopId(int shopid);

    int deleteShopByShopId(int shopid);
}
